﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ElisaHippo
{
    public sealed class MyDataGridView : DataGridView
    {

        protected override bool ProcessDataGridViewKey(KeyEventArgs e)
        {

            if (e.KeyCode == Keys.Enter)
            {
                this.OnKeyPress(new KeyPressEventArgs('+'));
                return true;
            }
            return base.ProcessDataGridViewKey(e);
        }
    }
}
